package br.com.wai2008.socket.protocol;

/*
 * Protocolo de comunicação Cliente -> Servidor via Socket:
 * 
 * <CSProtocol>
 * 		<Simulation>false</Simulation>
 * 		<HDSerial>  </HDSerial>
 * 		<Network>
 * 			<ID>  </ID>
 * 			<Signal>  </Signal>
 * 		</Network>
 * 		<Network>
 * 			.
 * 			.
 * 			.
 * 		</Network>
 * 		<Target>  </Target>
 * 		<Floor>  </Floor>
 * 		<Restriction>  </Restriction>
 * 		<Language>  </Language>
 * </CSProtocol>
 * 
 * <CSProtocol>
 * 		<Simulation>true</Simulation>
 * 		<HDSerial>  </HDSerial>
 * 		<ActualLocalization>
 * 			<X>  </X>
 * 			<Y>  </Y>
 * 			<Floor>  </Floor>
 * 		</ActualLocalization>
 * 		<Target>  </Target>
 * 		<Restriction>  </Restriction>
 * 		<Language>  </Language>
 * </CSProtocol>
 * 
 * Protocolo de comunicação Servidor -> Cliente via Socket:
 * 
 * <SCProtocol>
 * 		<Localization>
 * 			<X>  </X>
 * 			<Y>  </Y>
 * 			<Floor>  </Floor>
 * 		</Localization>
 * 		<Localization>
 * 			.
 * 			.
 * 			.
 * 		</Localization>
 * 		<Message>  </Message>
 * </SCProtocol>
 * 
 * <SCProtocol>
 * 		<ErrorCode>  </ErrorCode>
 * 		<ErrorDescription>  </ErrorDescription>
 * </SCProtocol>
 */
public class ClientToServerProtocol {

	public static final String TAG_CS_ROOT_START = "<CSProtocol>";

	public static final String TAG_CS_ROOT_END = "</CSProtocol>";
	
	public static final String TAG_CS_SIMULATION_START = "<Simulation>";

	public static final String TAG_CS_SIMULATION_END = "</Simulation>";

	public static final String TAG_CS_HDSERIAL_START = "<HDSerial>";

	public static final String TAG_CS_HDSERIAL_END = "</HDSerial>";

	public static final String TAG_CS_NETWORK_START = "<Network>";

	public static final String TAG_CS_NETWORK_END = "</Network>";

	public static final String TAG_CS_ID_START = "<ID>";

	public static final String TAG_CS_ID_END = "</ID>";

	public static final String TAG_CS_SIGNAL_START = "<Signal>";

	public static final String TAG_CS_SIGNAL_END = "</Signal>";

	public static final String TAG_CS_TARGET_START = "<Target>";

	public static final String TAG_CS_TARGET_END = "</Target>";

	public static final String TAG_CS_FLOOR_START = "<Floor>";

	public static final String TAG_CS_FLOOR_END = "</Floor>";

	public static final String TAG_CS_RESTRICTION_START = "<Restriction>";

	public static final String TAG_CS_RESTRICTION_END = "</Restriction>";

	public static final String TAG_CS_LANGUAGE_START = "<Language>";

	public static final String TAG_CS_LANGUAGE_END = "</Language>";

	public static final String TAG_CS_INITIALLOCALIZATION_START = "<ActualLocalization>";

	public static final String TAG_CS_INITIALLOCALIZATION_END = "</ActualLocalization>";

	public static final String TAG_CS_X_START = "<X>";

	public static final String TAG_CS_X_END = "</X>";

	public static final String TAG_CS_Y_START = "<Y>";

	public static final String TAG_CS_Y_END = "</Y>";

	public static final String TAG_SC_ROOT_START = "<SCProtocol>";

	public static final String TAG_SC_ROOT_END = "</SCProtocol>";

	public static final String TAG_SC_LOCALIZATION_START = "<Localization>";

	public static final String TAG_SC_LOCALIZATION_END = "</Localization>";

	public static final String TAG_SC_X_START = "<X>";

	public static final String TAG_SC_X_END = "</X>";

	public static final String TAG_SC_Y_START = "<Y>";

	public static final String TAG_SC_Y_END = "</Y>";

	public static final String TAG_SC_FLOOR_START = "<Floor>";

	public static final String TAG_SC_FLOOR_END = "</Floor>";

	public static final String TAG_SC_MESSAGE_START = "<Message>";

	public static final String TAG_SC_MESSAGE_END = "</Message>";

	public static final String TAG_SC_CODE_START = "<ErrorCode>";

	public static final String TAG_SC_CODE_END = "</ErrorCode>";

	public static final String TAG_SC_DESCRIPTION_START = "<ErrorDescription>";

	public static final String TAG_SC_DESCRIPTION_END = "</ErrorDescription>";

	public static final String END_LINE = "\n";
}
